#pragma once

enum {
	EVENT_CHATCMD,
	EVENT_UNITLIFEHIT,
	EVENT_RESUPDATE,
	EVENT_CREATEUNIT,
	EVENT_UNITNEWCLASSID,
};

struct LinkEvents_t {
	DWORD dwEventId;
	CHAR szName[64];
};


extern VOID ChatCmdEvent(CHAR* lpszMsg);
extern VOID UnitLifeHitEvent(INT nAddLife, DWORD dwId1, DWORD dwId2);
extern VOID PlayerResourceUpdateEvent(DWORD dwPlayerSlot, INT nStatId, INT nAddResource);
extern VOID CreateUnitEvent(DWORD dwId1, DWORD dwId2);
extern VOID UnitNewClassId(DWORD dwId1, DWORD dwId2, DWORD dwClassId);